package entity;

import java.math.BigInteger;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "Orders")
public class OrderEntity {
	
	private BigInteger orderId;
	private Date orderDate;
	private Double orderTotal;
	private BigInteger orderStatusId;
	private BigInteger customerId;
	
	@Id
    @Column(name = "order_id")
    public BigInteger getOrderId() {
        return orderId;
    }
 
    public void setOrderId(BigInteger orderId) {
        this.orderId = orderId;
    }
    
    @Column(name = "order_date")
    public Date getOrderDate() {
        return orderDate;
    }
 
    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }
    
    @Column(name = "order_total")
    public Double getOrderTotal() {
        return orderTotal;
    }
 
    public void setOrderTotal(Double orderTotal) {
        this.orderTotal = orderTotal;
    }
    
    @Column(name = "order_status_id")
    public BigInteger getOrderStatusId() {
        return orderStatusId;
    }
 
    public void setOrderStatusId(BigInteger orderStatusId) {
        this.orderStatusId = orderStatusId;
    }
    
    @Column(name = "order_status_id")
    public BigInteger getCustomerId() {
        return customerId;
    }
 
    public void setCustomerId(BigInteger customerId) {
        this.customerId = customerId;
    }
    
}
